package com.sicau.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sicau.common.annotation.Excel;
import com.sicau.common.core.domain.BaseEntity;

/**
 * 补测申请对象 b_supplement
 * 
 * @author ruoyi
 * @date 2022-03-19
 */
public class BSupplement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 学生ID */
    private Long studentId;

    @Excel(name = "学生")
    private String studentName;

    /** 教师ID */
    private Long teacherId;

    @Excel(name = "教师")
    private String teacherName;

    /** 请假日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请假日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date supplementDate;

    /** 请假日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请假日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date testDate;

    /** 请假时间（第几讲） */
    @Excel(name = "请假时间")
    private String time;

    /** 审批状态 */
    @Excel(name = "审批状态",readConverterExp = "1=待审批,2=审批通过,3=审批不通过")
    private String status;


    public Date getTestDate() {
        return testDate;
    }

    public void setTestDate(Date testDate) {
        this.testDate = testDate;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setSupplementDate(Date supplementDate) 
    {
        this.supplementDate = supplementDate;
    }

    public Date getSupplementDate() 
    {
        return supplementDate;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("teacherId", getTeacherId())
            .append("supplementDate", getSupplementDate())
            .append("time", getTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
